import web
        
urls = (
    '/(.*)', 'hello'
)
application = web.application(urls, globals())

class hello:        
    def GET(self, name):
        if not name: 
            name = 'World'
        return 'Web.py~~ Hello, ' + name + '!'

app = application.wsgifunc()
if __name__ == "__main__":
    application.run()

